//
//  NetworkManger.h
//  DeepBreathing
//
//  Created by rimi on 15/12/16.
//  Copyright © 2015年 rimi. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void  (^SuccessHander)(id responseObject);
typedef void (^FailureHander)(NSError *error);

#define BASE_URL @"http://db.rimionline.com/"

@interface NetworkManger : NSObject

+(void)postWithUrl:(NSString *)url params:(NSDictionary *)params successHander:(SuccessHander)success failureHander:(FailureHander)failure;

+(NSDictionary *)parasByappendingUserInfo:(NSDictionary *)params;

@end
